﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 仓库管理
    /// </summary>
    [SugarTable("zy_oa_goods")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaGoodsEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(ColumnName = "F_Encode")]        
        public string Encode { get; set; }
        
        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(ColumnName = "F_Name")]        
        public string Name { get; set; }
        
        /// <summary>
        /// 联系人
        /// </summary>
        [SugarColumn(ColumnName = "F_DesPerson")]        
        public string DesPerson { get; set; }
        
        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnName = "F_DesPersonPhone")]        
        public string DesPersonPhone { get; set; }
        
        /// <summary>
        /// 仓库类型
        /// </summary>
        [SugarColumn(ColumnName = "F_Type")]        
        public string Type { get; set; }
        
        /// <summary>
        /// 仓管员
        /// </summary>
        [SugarColumn(ColumnName = "F_Admin")]        
        public string Admin { get; set; }
        
        /// <summary>
        /// 所在地区
        /// </summary>
        [SugarColumn(ColumnName = "F_Area")]        
        public string Area { get; set; }
        
        /// <summary>
        /// 详细地址
        /// </summary>
        [SugarColumn(ColumnName = "F_Address")]        
        public string Address { get; set; }
        
        /// <summary>
        /// 图片
        /// </summary>
        [SugarColumn(ColumnName = "F_Photos")]        
        public string Photos { get; set; }
        
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "F_SortCode")]        
        public long SortCode { get; set; }
        
        /// <summary>
        /// 有效标志
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark")]        
        public int? EnabledMark { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime")]        
        public DateTime? CreatorTime { get; set; }
        
        /// <summary>
        /// 创建用户
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId")]        
        public string CreatorUserId { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyer")]        
        public string LastModifyer { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyTime")]        
        public DateTime? LastModifyTime { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_LastState")]        
        public int? LastState { get; set; }
        
        /// <summary>
        /// 说明
        /// </summary>
        [SugarColumn(ColumnName = "F_Remark")]        
        public string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "Appendix")]        
        public string Appendix { get; set; }
        
        /// <summary>
        /// 批注列表Json
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilJson")]        
        public string PostilJson { get; set; }
        
        /// <summary>
        /// 批注总数
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilCount")]        
        public int? PostilCount { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare3")]        
        public string Spare3 { get; set; }
        
    }
}
